package com.clms.maintain.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_car")
@ApiModel(value = "car对象",description = "car实体")
public class TbCar {
  @TableId(value = "id",type = IdType.AUTO)
  @ApiModelProperty(value = "car的id")
  private Integer id;
  @ApiModelProperty(value = "车的名字")
  @TableField(value = "carName")
  private String carName;



}
